package com.yloveg.service;

import java.io.IOException;
import java.util.Map;

import freemarker.template.TemplateException;

public interface MailUtil {
	
	public void sendSimpleMail(String subject,String content,String toMail,String type);
	
	public void sendHtmlMail(String subject,String content,String toMail,String type);
	
	public void sendPictureMail(String subject,String content,String toMail,String picturePath,String type);
	
	public void sendMailTakeAccessory(String subject,String content,String toMail,String accessoryPath,String accessoryName,String type);
	
	public void sendTemplateMail(Map<String, Object> map,String subject,String template,String toMail,String type) throws IOException, TemplateException;
	
	

}
